import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
const app = createApp(App)
axios.defaults.baseURL = 'http://api.vikingship.xyz'
axios.interceptors.request.use(config => {
  config.params = { ...config.params, icode: '4101758f762e5f85f3c740959274c980' }
  return config
})
axios.get('/api/columns?currentPage=1&pageSize=5', { params: { key: 'hello' } }).then(res => {
  console.log(res)
})

app.use(router)
app.use(store)
app.mount('#app')
